//
//  PTGuideViewCell.m
//  Receipt
//
//  Created by admin on 2019/3/29.
//  Copyright © 2019 LG. All rights reserved.
//

#import "TTGuideViewCell.h"

@interface TTGuideViewCell ()

@property (nonatomic, strong) UIImageView *imageView;


@end

@implementation TTGuideViewCell

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        
        self.imageView = [[UIImageView alloc] initWithFrame:self.bounds];
        self.imageView.backgroundColor = [UIColor grayColor];
        self.imageView.contentMode = UIViewContentModeScaleAspectFill;
        self.imageView.layer.masksToBounds = YES;
        [self.contentView addSubview:self.imageView];
        
    }
    return self;
}

- (void)setImageName:(NSString *)imageName
{
    _imageName = imageName;
    self.imageView.image = [UIImage imageNamed:imageName];
}



@end
